package com.company.cloud.platform.modules.api.fallback;


import org.springframework.stereotype.Component;

import com.company.cloud.platform.modules.api.service.PlatformRemoteService;

import feign.hystrix.FallbackFactory;
import lombok.extern.log4j.Log4j2;

@Log4j2
@Component
public class PlatformRemoteServiceFallbackFactory implements FallbackFactory<PlatformRemoteService>{

	@Override
	public PlatformRemoteService create(Throwable cause) {
		return new PlatformRemoteService() {
		};
	}

}

